
#include "pocess_pool.hpp"

int main()
{
    // 1. 创建进程池对象
    PocessPool pool;

    // 2.启动
    pool.Start();
    pool.PrintPool();

    //3. 运行
    for(int i = 0 ; i < 5; ++i)
    {
        pool.Run();
    }

    //4. 停止
    pool.Stop();
    return 0;
}